package cn.classyex.business.hr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工培训管理对象 hr_employee_train
 * 
 * @author yex
 * @date 2021-05-06
 */
public class EmployeeTrain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工培训id */
    private Long employeeTrainId;

    /** 培训id */
    @Excel(name = "培训id")
    private Long trainId;

    /** 培训标题 */
    @Excel(name = "培训标题")
    private String trainTitle;

    /** 员工id */
    @Excel(name = "员工id")
    private Long employeeId;

    /** 员工名称 */
    @Excel(name = "员工名称")
    private String employeeName;

    /** 培训时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trainTime;

    /** 培训评价 */
    @Excel(name = "培训评价")
    private String trainComment;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setEmployeeTrainId(Long employeeTrainId) 
    {
        this.employeeTrainId = employeeTrainId;
    }

    public Long getEmployeeTrainId() 
    {
        return employeeTrainId;
    }
    public void setTrainId(Long trainId) 
    {
        this.trainId = trainId;
    }

    public Long getTrainId() 
    {
        return trainId;
    }
    public void setTrainTitle(String trainTitle) 
    {
        this.trainTitle = trainTitle;
    }

    public String getTrainTitle() 
    {
        return trainTitle;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setTrainTime(Date trainTime) 
    {
        this.trainTime = trainTime;
    }

    public Date getTrainTime() 
    {
        return trainTime;
    }
    public void setTrainComment(String trainComment) 
    {
        this.trainComment = trainComment;
    }

    public String getTrainComment() 
    {
        return trainComment;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("employeeTrainId", getEmployeeTrainId())
            .append("trainId", getTrainId())
            .append("trainTitle", getTrainTitle())
            .append("employeeId", getEmployeeId())
            .append("employeeName", getEmployeeName())
            .append("trainTime", getTrainTime())
            .append("trainComment", getTrainComment())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
